/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yy.bugzilla.desk.tool;

import javafx.scene.Parent;

/**
 *
 * @author Alan
 */
public abstract class BasePane {

    protected Parent contextPane;

    public Parent getContextPane() {
        if (contextPane == null) {
            contextPane = generatePane();
        }
        return contextPane;
    }

    protected abstract Parent generatePane();
}
